package com.jk.dao;

import com.jk.entity.AreaEntity;
import com.jk.entity.UserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ClothDao {

    UserEntity login(String userLoginNum);

    List<AreaEntity> getprovince(Integer pid);



    UserEntity findPhone(String phone);

    UserEntity findPhoneToLogin(String userLoginNum);

    UserEntity findUserAccount(String userLoginNum);

    void phoneRegister(UserEntity user);

    void register(UserEntity user);
}
